package peppa.george.org.Service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import peppa.george.org.domain.User;
import peppa.george.org.mapper.LoginMapper;
import peppa.george.org.Service.LoginService;
@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    LoginMapper loginMapper;

    @Override
    public User login(String username, Long password) {
        return loginMapper.login(username,password);
    }
}
